package com.aistar.pojoVO;

import java.io.Serializable;
import java.util.Arrays;

public class JudgeTask implements Serializable {
    private String[] input;
    private String[] output;
    private Long timeLimit;
    private Long memoryLimit;
    /**
     * 1 GNU C90
     * 2 GNU C99
     * 3 GNU C11
     * 4 GNU C++98
     * 5 GNU C++11
     * 6 GNU C++14
     * 7 GNU C++17
     * 8 Java 1.8
     * 9 python2.7
     * 10 python3.6
     * 11 JavaScript
     * 12 C#
     * 13 Ruby
     * 14 GO
     */
    private Integer judgeId;
    private String src;
    private static final long serialVersionUID = 1L;
    
    public JudgeTask(String[] input, String[] output, Long timeLimit, Long memoryLimit, Integer judgeId, String src) {
        this.input = input;
        this.output = output;
        this.timeLimit = timeLimit;
        this.memoryLimit = memoryLimit;
        this.judgeId = judgeId;
        this.src = src;
    }

    public String[] getInput() {
        return input;
    }

    public void setInput(String[] input) {
        this.input = input;
    }

    public String[] getOutput() {
        return output;
    }

    public void setOutput(String[] output) {
        this.output = output;
    }

    public Long getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(Long timeLimit) {
        this.timeLimit = timeLimit;
    }

    public Long getMemoryLimit() {
        return memoryLimit;
    }

    public void setMemoryLimit(Long memoryLimit) {
        this.memoryLimit = memoryLimit;
    }

    public Integer getJudgeId() {
        return judgeId;
    }

    public void setJudgeId(Integer judgeId) {
        this.judgeId = judgeId;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    @Override
    public String toString() {
        return "JudgeTask{" +
                "input=" + Arrays.toString(input) +
                ", output=" + Arrays.toString(output) +
                ", timeLimit=" + timeLimit +
                ", memoryLimit=" + memoryLimit +
                ", judgeId=" + judgeId +
                ", src='" + src + '\'' +
                '}';
    }
}
